Interaction of loosely bound radioactive 7Be and stable 7Li with 9Be