Using temporal genetic switches to synchronize the unfolded protein response in cell populations in vivo.