Sigma-model solutions and intersecting P-branes related to Lie algebras