Text this: A Lyapunov function and global properties for SIR and SEIR epidemiological models with nonlinear incidence