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