Dynetica is a simulator of synthetic biochemical or gene regulatory networks