Noem de twee herstellende functies van de slaap.