China's foreign exchange reserves have fallen to their lowest level in more than three years, the central bank said, as Beijing sells dollars to stop the yuan from depreciating further.