Fourier optics theory for invisibility cloaks