Parity projection in spherical nuclei