Ukraine's parliament has backed imposing martial law for 30 days in parts of the country, in response to Russia's capture of three Ukrainian naval vessels over the weekend.