Production of 7Be from light targets by 30 MeV to 24 GeV protons