Differential part of transparent boundary conditions for certain hyperbolic systems of second-order equations