Tourists washed out to sea while posing for selfies on rocks