Pontryagin’s Maximum Principle for the Optimal Control Problems with Multipoint Boundary Conditions