Finds the three sample quartiles using Tukey's definition, also known as hinges.
q = quartiles(x)
Tukey, John W. 1977. Exploratory Data Analysis, New York: Addison-Wesley.