Spin polarization and transition from metallic to insulating behavior in 2D systems