A two‐color laser‐induced grating technique for gas‐phase excited‐state spectroscopy