Transition probabilities for degenerate diffusions arising in population genetics