Determination of the stability boundary of a two-layer system of miscible liquids with linear diffusion laws