The Bogoliubov approach to number squeezing of atoms in an optical lattice