Aamir to play villain in Dhoom 3