China vows to help cash-strapped Pakistan