Text this: A Jointly Optimized Variable M-QAM and Power Allocation Scheme for Image Transmission