Nature of the double superconducting transition in PrOs4Sb12