Screening, optimization and extraction of polyhydroxyalkanoates and peptidoglycan from Bacillus megaterium