Optimal Control Problems with Integrands Discontinuous with respect to Time