Modulating electronic and magnetic properties of zigzag MoSe2 nanoribbons with different edge structures