Processing and properties of sol-gel derived lithium niobate thin-layers