China needs painful structural reforms as economy slows