Analogue switches made from boron nitride monolayers for application in 5G and terahertz communication systems