Electroproduction of single pions near threshold