Device helps cancer patients keep their hair