Gary Kirsten and Jason Gillespie have been appointed as Pakistan's head coaches, with the latter in charge of the red ball side and Kirsten coaching the white ball teams.