Isotropic and anisotropic spectra of passive scalar fluctuations in turbulent fluid flow