J/ψ and γ production in high energy electron-proton collisions☆