I'm a dietitian — and here's the secret to making intermittent fasting work