Group-level traits can be studied with standard evolutionary theory