Semi-permeable artificial cells and their applications in synthetic biology