Pruning synapses during REM sleep is essential for the lifelong ability to learn new things