A Lyapunov-Krasovskii Methodology for ISS and iISS of Time-Delay Systems