Displacement flow of miscible fluids with density and viscosity contrast