Energy band structure of spin-1 condensates in optical lattices