General tensor Lagrangians from the gravitational Higgs mechanism