Empirical modeling of the storm time geomagnetic indices: a comparison between the local K and global Kp indices