Characterization of polyhydroxyalkanoates extracted from wastewater sludge under different environmental conditions