Large-scale circulation with small diapycnal diffusion: The two-thermocline limit