Baecklund loop algebras for compact and non-compact nonlinear spin models in (2+1) dimensions