Projection of plane-wave calculations into atomic orbitals