External electric field modulation of single-layer MoSe2 electronic and optical properties: A first-principles investigation