Laser‐induced excited state and ultrasonic wave gratings: Amplitude and phase grating contributions to diffraction