E(cid:11)ective gravitational couplings of four-dimensional N = 2 supersymmetric gauge theories