Automated single-molecule imaging in living cells