Lynn wins 11th, Cardinals beat Marlins 3-2