A fast Fourier transform implementation of the Kramers-Kronig relations: Application to anomalous and left handed propagation