Boundedness of solutions and Lyapunov functions in quasi-polynomial systems