Family rescued after being swept out to sea