Higher-order mode-based cavity misalignment measurements at the free-electron laser FLASH