Pakistan has sharply raised petrol and diesel prices following surging global energy costs from the Iran conflict.