added get_allele_frequencies() and get_gene_diversity() methods to Population class