Pion condensation and phase diagram in the Polyakov-loop quark-meson model