Molecular ecology of social behaviour: analyses of breeding systems and genetic structure