Antiferromagnetic order of ferromagnetically coupled dimers in the double pyrovanadate CaCoV$_2$O$_7$