Ultracold atoms in optical lattices