The structural basis for release-factor activation during translation termination revealed by time-resolved cryogenic electron microscopy