The 12-year-old boy and two girls aged 11 and 12 were cut off by the tide as they played in the Eye Cave at Dunbar.