Both age and social environment shape the phenotype of ant workers