Frequency properties of acoustic emissions from the dry and saturated rock