Wales skipper Sam Warburton will undergo shoulder surgery next week and is likely to miss "several months" of action.