Nursultan Nazarbayev announces shock resignation in televised address, hands over power to speaker of upper house.