Detecting CO, NO and NO2 gases by Boron-doped graphene nanoribbon molecular devices