Multifunctional properties of Cr-substituted ferromagnetic Nd2Fe17