Understanding How the Structure of Boron Oxynitride Affects its Photocatalytic Properties