The influence of wavy walls on the transport of a passive scalar in turbulent flows