Refinement differential equations and wavelets