The first excited states of 9Be and 9B