A 37-year-old man has pleaded guilty to stalking Strictly Come Dancing judge Shirley Ballas over the course of six years.