Bank profits mask diverging risks