Selective hydroxy group protection of gallic acid