Learning and Adapting Agile Locomotion Skills by Transferring Experience