Ca- and La-substitution in YBa2Cu3O7−ξ, Y2Ba4Cu7O15−ξ and YBa2Cu4O8