Network Rail said both tracks has been severely damaged by the sea, washing away ballast and the foundations on which the track is built