An Adaptation of the LoRa Transmission Protocol for Indoor Air Quality Monitoring Using Cross-Layer Design