Thin film deposition of yttrium and dysprosium on yttria-stabilized zirconia and strontium titanate substrates with buffer layers