Indian markets rise on election optimism, Nifty at 24,119