Watching proteins function with time-resolved x-ray crystallography