Joint source channel coding of information sources using neural networks