The probability of generating a permutation group