A comparative study of superconducting LaBa2Cu3O7−δ and La3−xBa3+xCu6O14+δ