An interface problem: The two-layer shallow water equations