Microscopic expression for frequency and wave vector dependent dielectric constant of a dipolar liquid