Spectroscopy of 12Be and 13Be using a 12Be radioactive beam