Large deviations of the empirical flow for continuous time Markov chains