Martínez pitches three uneven innings in Cards' 8-5 loss to Mets