Equivalences between three presentations of orthogonal and symplectic Yangians