Fragmentation Cross Sections of 290 and 400 MeV/nucleon 12C Beams on Elemental Targets