Differential Higgs boson pair production at next-to-next-to-leading order in QCD