A theory of continuous generative flow networks