Classical microscopic theory of dispersion, emission and absorption of light in dielectrics