Major oil spill washes ashore in California, closing beaches