Man sentenced for 1987 torture and murder of boy