a ball mill is a type of grinder used to grind materials into