Improved magnetostructural and magnetocaloric reversibility in magnetic Ni-Mn-In shape-memory Heusler alloy by optimizing the geometric compatibility condition