On characteristic equations, trace identities and Casimir operators of simple Lie algebras