Method and device for intermediate storage of data packets, as well as switching center comprising such a device