Optimization of synthetic oscillatory biological networks through Reinforcement Learning