CODE-SHARP: Continuous Open-Ended Discovery and Evolution of Skills as Hierarchical Reward Programs