Bounds on the number of generators of prime ideals