Synchrotron radiation inside a dielectric waveguide