Population genetics meets behavioral ecology.