Redox ratio and optical absorption of polyvalent ions in industrial glasses