Geodynamo and geomagnetic basics