Deep Autoencoder-based Z-Interference Channels with Perfect and Imperfect CSI