Unified Joint Matrix-Monotonic Optimization of MIMO Training Sequences and Transceivers