Biosynthesized gold nanoparticles as photocatalysts for selective degradation of cationic dye and their antimicrobial activity