Profits earned by China's industrial firms in August grew at the fastest pace in three years helped by rising sales and lower costs.