Analysis and characterization of cultivable heavy metal-resistant bacterial endophytes isolated from Cd-hyperaccumulator Solanum nigrum L. and their potential use for phytoremediation.