Shallow 6.3-magnitude quake hits northwest China