The marathon is seen as the ultimate badge of fitness but shorter races can help you become a better runner