Nickel azide photolysis