Dielectron production in Au+Au and p+p collisions at √sNN = 200GeV at STAR