Dynamic response of a nematic liquid crystal in silica aerogel in an external electric field