Influence of interplanetary magnetic field and plasma on geomagnetic activity during quiet-sun conditions