EC beefs up safety measures at beaches