Pion condensation and density isomerism in nuclear matter