The Rate of Molecular Adaptation in a Changing Environment