Spectroscopic and physicochemical properties of rare-earth phthalocyanines entrapped in sol-gel glasses