CaloCube: An innovative homogeneous calorimeter for the next-generation space experiments