Dimorphic cubic phases and magnetic properties of a new binary compound PrIr3