A five-day diet that mimics fasting could improve long-term health by helping the body to "reboot."