New oxynitride materials with luminescent, magnetic and catalytic properties