Superconductivity in Layered Pnictides BaRh2P2 and BaIr2P2