Pittsburgh Pirates defeat Boston Red Sox, 2-0