Learning Solutions for Intertemporal Power Systems Optimization with Recurrent Neural Networks