A hybrid stochastic optimization framework for composite nonconvex optimization