New AI tool to spot skin cancer to be used in NHS