Minimal generation of transitive permutation groups