Carrier-envelope-phase stabilization of a high-power femtosecond laser by the direct locking method