Man who died while trying to save two people from sea off Yorkshire coast is named