prevent diet headaches