Breakup of 42 MeV 7Li projectiles in the fields of 12C and 197Au nuclei