Charge and Spin Current Rectification through Functionalized Boron Nitride Bilayers