N.Y.'s Green and Libertarian political parties in peril as Working Families Party avoids disaster