Magnetic properties and spin glass behavior in an antiferromagnet KFeO2