Germany, China vow to deepen ties amid differences