Maximum Likelihood Estimation of Time-Inhomogeneous Diffusions