ceramic and thin-film substrates