Methods for single-cell recording and labeling in vivo