Influence of rare-earth ion radii on the low-spin to intermediate-spin state transition in lanthanide cobaltite perovskites: LaCoO 3 versus HoCoO 3