Kin selection and reciprocity in flight formation