Lynn, Beltran lead Cards to dominating win over Pirates