AS-ES Learning: Towards Efficient CoT Learning in Small Models