Chemical Analysis and Elucidation of Anthraquinone and Flavonoid Type Compounds with Applications to Historical Artefacts and Sustainability