Molecular and functional profiling of antigen-driven B-cell responses at single cell resolution in autoimmunity and infectious disease