The weak-coupling limit of large classical and quantum systems