Social inequality rather than biology leads some people to have a much shorter life span than others, a report says.