Ampicillin-mediated functionalized gold nanoparticles against ampicillin-resistant bacteria: strategy, preparation and interaction studies