Volume potential-integral-equation formulation for electromagnetic scattering by dielectric objects