Identification of conserved moieties in metabolic networks by graph theoretical analysis of atom transition networks