Young, Goldschmidt HR vs Lincecum, D-backs beat SF