On the Sub-Layer Functionalities of Transformer Decoder