Extraction of xylan from wood pulp and brewer’s spent grain