Transport properties of organic conductor (BEDT-TTF)2KHg(SCN)4: I. Resistance and magnetoresistance anomaly