Bluetooth 5 Energy Management through a Fuzzy-PSO Solution for Mobile Devices of Internet of Things