Glenfiddich has been given the green light to build an energy plant at its Dufftown distillery in order to turn whisky waste into renewable power.