Mittag-Leffler function for real index and its application in solving difference and differential equations