GEMS: a deterministic finite automaton framework for adaptive laboratory automation | Synapse