Insertion reaction of Mn+ bare metal cation into the N-H and C-H bonds of ammonia and methane