Pakistan writes to China seeking debt reprofiling