Narrowband IoT: A survey on downlink and uplink perspectives