A former Ukrainian parliamentary speaker has been shot dead and an investigation launched into what has been described as "a shot fired at the heart of Ukraine".