Daydream: Accurately Estimating the Efficacy of Optimizations for DNN Training