Text this: Ultra-fast meta-parameter optimization for time series similarity measures with application to nearest neighbour classification