Finite-time generalization of the thermodynamic uncertainty relation.