Fokker–Planck equation for nonlinear stochastic dynamics in the presence of space and time dependent friction