Jean Segura belts 2 homers in D-backs’ win