Man trying to take photo in water at beach gets knocked over by wave