Cary logistics firm to be acquired by German company