Hammerhead sightings cause beach closings