An integral formulation of two- and three-dimensional dielectric structures using orthonormal multiresolution expansions