Master equations for correlated quantum channels