Dolphin gets attacked by shark at California beach