A global optimization scheme for bimetallic nanoparticles