Existence of fixed points and measures of weak noncompactness