Reinforcement Learning for Efficient Design and Control Co-optimisation of Energy Systems