Water in petrogenetical, magmatic and ore forming processes