lattice definition chemistry igcse