Surfers warned to keep out of water at some beaches due to bacteria levels