China punishes 27 officials after deadly ultramarathon