Measure of noncompactness and semilinear differential equations in Fréchet spaces