Multifractal Formalism based on the Continuous Wavelet Transform