Analysis and design of decision-directed learning schemes using stochastic approximation