Heteroresistance at the single-cell level