Vacuum polarization tensor in three-dimensional quantum electrodynamics