Derivation of Hawking radiation in dispersive dielectric media