Wirtinger-based integral inequality: Application to time-delay systems