Parra homers off Zito, D-backs beat Giants 4-3