The Kraus representation for the dynamics of open quantum systems