Conor McGregor says he plans to move to bare-knuckle fighting after completing his Ultimate Fighting Championship contract.