Designing neural controllers with optimality and stability guarantees by learning input-output dissipativity | Synapse