The intrinsic charm of the proton