Early prediction of Alzheimer’s disease and related dementias using real-world electronic health records