Bioprospecting a native silver-resistant Bacillus safensis strain for green synthesis and subsequent antibacterial and anticancer activities of silver nanoparticles