Shape transitions in 188Os