A method for measuring wetting and swelling of bentonite using X-ray imaging