Synthesis and Structure–Property Relations of a Series of Photochromic Molecular Glasses for Controlled and Efficient Formation of Surface Relief Nanostructures