Quadratic BSDEs driven by a continuous martingale and applications to the utility maximization problem