An eco-friendly and efficient route of lignin extraction from black liquor and a lignin-based copolyester synthesis