Locally supersymmetric σ-model with Wess-Zumino term in two dimensions and critical dimensions for strings