Probing structural transformation and optical and magnetic properties in Cr doped GdMnO3: Jahn–Teller distortion, photoluminescence and magnetic switching effect