Programming artificial cells as bidirectional genetic thermometers