Time-series analysis of foreign exchange rates using time-dependent pattern entropy