Fabrication of thermally stabilized shellac through solid state reaction with phthalic anhydride