On the absorption of light by gaseous, liquid and solid xenon