Detection of Entanglement in Ultracold Lattice Gases