Optical beam steering based on electromagnetically induced transparency