Stochastic proximal gradient methods for nonconvex problems in Hilbert spaces