Proof of the Fourier integral theorem using integral substitution with limit and the Dirichlet integral value