Shehzad, Misbah hit centuries in warm-up