Analysis of the rational Krylov subspace projection method for large-scale algebraic riccati equations