Effects of edge passivations on the electronic and magnetic properties of zigzag boron-nitride nanoribbons with even and odd-line stone–wales (5–7 pair) defects