Voltage-gated spin-filtering properties and global minimum of planar MnB6, and half-metallicity and room-temperature ferromagnetism of its oxide sheet