Defect correction method for the solution of algebraic Riccati equations