Condensation mehanisms of monomeric tin hydroxide molecules and formation of polymorphic stannic acids: a quantum chemical study