Probing the scalar potential via double Higgs boson production at hadron colliders