Properties of light nuclei by inelastic scattering and nucleon transfer in 3,4He+9Be reactions at low energies