On the representation of binary quadratic forms by quadratic forms