Lincecum gets 1st W, Giants beat Mets in DH opener