Tiny artificial cells can keep time, study finds