Man jailed for stealing from dead pensioner