China hits 5% growth target as exports offset weak domestic demand