A recoil separator for use in radioactive ion beam experiments