Linear quadratic control with risk constraints