Sensex, Nifty hit one-year highs lifted by energy, banking stocks