A Mellin transform approach to wavelet analysis