Dielectric permittivity of nematics with a molecular based continuum model