Harnessing cell-to-cell variations to probe bacterial structure and biophysics