A front-tracking shock-capturing method for two fluids