The curvature invariant of a Hilbert module over C[z_1,...,z_d]