Finite-Time Stability: An Input-Output Approach