Hydrogels as functional components in artificial cell systems