K2: A Foundation Language Model for Geoscience Knowledge Understanding and Utilization