Text this: How Beyond-5G and 6G Makes IIoT and the Smart Grid Green—A Survey