An Analytical Solution Method for Composite Layer Diffusion Problems with an Application in Metallurgy