Study of the effective transverse momentum of partons in the proton using prompt photons in photoproduction at HERA