Multi-functionalization of gallic acid towards improved synthesis of α- and β-DDB