Impairment aware routing and wavelength assignment algorithms for optical WDM networks and experimental validation of impairment aware automatic light-path switching