The sonata in the baroque era