Protests in Ukraine have led to the resignation of the prime minister and the deaths of at least five people.