Aspects of modulation in the eighteenth-century keyboard sonata