Fréchet differentiable drift dependence of Perron–Frobenius and Koopman operators for non-deterministic dynamics