Programming artificial cells as bidirectional genetic thermometer