A computationally efficient unified approach to the numerical analysis of the sensitivity and noise of semiconductor devices