how did the french revolution influence the mexican revolution