Constructing a bimodal switched Lyapunov function for non-uniformly sampled-data feedback systems