Sufficient conditions for the isoperimetric problem of Bolza in the calculus of variations