A second harmonic technique to determine metal-induced-gap-state density