On the behaviour of measures of noncompactness with respect to differentiation and integration of vector-valued functions