Experimental determination of the charge on dust particles forming Coulomb lattices