Development of a solid-state detector with a 6Li/Ti multilayer converter for ultracold neutrons