Theory of transient hole‐burning spectrum for molecules in solution