Oscillation waves in Riemann problems for phase transitions