On the transition from cellular to wavelike patterns during solutal Marangoni convection