Farrell: Red Sox 'capitalized' on Cardinals mistakes