An iterative solution to the finite-time linear quadratic optimal feedback control problem