Magic tofu with caramelized shallot