Hydrogel-based Bio-nanomachine Transmitters for Bacterial Molecular Communications