Text this: Joint Optimization of Codeword Bit Distribution and Detection Threshold for Asymmetric STT-MRAM Channel.