Experimental techniques in two-photon spectroscopy