Learning-based Design and Control for Quadrupedal Robots with Parallel-Elastic Actuators