Emergence of Abstractions: Concept Encoding and Decoding Mechanism for In-Context Learning in Transformers