The National Maritime Museum has received a £20m donation from shipping magnate Sammy Ofer towards the new £35m wing at its Maritime Greenwich world heritage site.