Development and validation of algorithms to classify type 1 and 2 diabetes according to age at diagnosis using electronic health records