Effect of Quantum Confinement on Optical and Magnetic Properties of Pr–Cr-Codoped Bismuth Ferrite Nanowires