Synthesis of sol–gel based nanostructured Cr(III)-doped indium tin oxide films on glass and their optical and magnetic characterizations