Officials have closed beaches on the coastline to swimmers and surfers after an uptick in the number of shark attacks