A laser-pumped potassium magnetometer for geophysical applications,