China central bank devalues the yuan after poor economic data