Electronic and magnetic properties of MoSe2 armchair nanoribbons controlled by the different edge structures