Crossover from concentrated Kondo to intermediate valence state in CeInCu2