Preparation and photochromic properties of dye-doped aluminosilicate and ORMOCER gels and coatings