Canonical formalism for the σ model with torsion and N supersymmetries