Time-dependent Markovian master equation for adiabatic systems and its application to Cooper-pair pumping