The influence of cosmological gravitational waves on a Newtonian binary system