Derivatives of the diameter and the area of a connected component of the pseudospectrum