The convergence of the orthogonalized plane wave method