Role of grain size and particle velocity distribution in secondary electron emission in space plasmas