Characterization of the second- and third-harmonic optical susceptibilities of atomically thin tungsten diselenide