A spatiotemporal style transfer algorithm for dynamic visual stimulus generation