Large deviations of the current in stochastic systems