Chemisorption of Hydroxide on 2D Materials from DFT Calculations: Graphene versus Hexagonal Boron Nitride