Structural and magnetic phase transitions in Bi1−xPrxFeO3 perovskites