Estimation of directly unmeasurable external perturbations using functional observers