Valorization of Miscanthus x giganteus for sustainable recovery of anthocyanins and enhanced production of sugars