Transfer Matrix in the Quasiclassical Approximation with Constant and Position‐Dependent Mass. Resonant Tunneling