Investigation of the variation of loads experienced by a damaged ship in waves