A framework for the study of genetic variation in migratory behaviour