Temperature dependence of coercivity for powdered intermetallic compounds of RCo5 and R2Co17