Man who weighed 49st loses 32 stone after doctor’s stark warning