Girls and boys as young as eight are more unhappy with their body image and weight when they have higher levels of hormones linked to the onset of puberty, researchers say.