On the extension of classical calculus of variations and optimal control to problems with discontinuous trajectoriesдоклад на конференции