Calculate the interquartile range