sentence: patrick '' pat '' theodore joseph misch ( born august 18 , 1981 ) is an american former professional baseball pitcher who played in major league baseball ( mlb ) for the san francisco giants and new york mets .