A warning has been issued after 31 people were nearly stranded by rising tides on Scolt Head Island in north Norfolk.