New energy definition for higher curvature gravities