Former Treasurer Josh Frydenberg says he was "loyal to a fault" during his time in Scott Morrison's government, as he launches his new memoir.