what is a centrifuge used for in science