Existence of solutions for nonlinear BVPs of second-order differential equations on measure chains