Extraction and purification of inclusion bodies