Effect of viscoelasticity on the soft-wall transition and turbulence in a microchannel