Deep Learning for Solving and Estimating Dynamic Macro-Finance Models