Observations of soft gamma-ray or hard X-ray bursts in the GRIF experiment on the Mir orbiting station