A mixed markers and volume-of-fluid method for the reconstruction and advection of interfaces in two-phase and free-boundary flows