Ukrainian sailors held by Russian troops have been sentenced to be held for two months by a Crimean court.