Development of a sustainable process for the production of polymer grade lactic acid