Cosmological radiative transfer codes comparison project - I. The static density field tests