Almost 1,000 people with diabetes in Lothian are on a waiting list for access to technology which could change their lives, according to new figures.