Canadian detained in China has been released