The electronic states and vibronic absorption spectrum of berberine in aqueous solution