A.A. Agrachev, R.V. Gamkrelidze, Symplectic geometry and necessary conditions for optimality