Efficient simulation of reaction systems on graphics processing units