The Carina Project. VI. The helium burning variable stars