The attenuation rates of ocean waves in the marginal ice zone