Observation of intermediate spin states in Er/Y superlattices