Development of application to automatically calculate mean amplitude of glycaemic excursions using intermittently scanned continuous glucose monitoring data