Size-dependent structural transition thermodynamics of octahedral nanoparticles: Theoretical and experimental study