Molecular electro- and photocatalytic approach to artificial nitrogen fixation for the synthesis of green ammonia