J/psi production at HERA