Coherent and incoherent J /ψ photonuclear production in an energy-dependent hot-spot model