Automated detection of velocity pulses in ground motions based on adaptive similarity search in response spectrum