Mixed methods with dynamic finite-element spaces for miscible displacement in porous media