Genetic diversity and characterization of arsenic-resistant endophytic bacteria isolated from Pteris vittata, an arsenic hyperaccumulator