who wrote the ballad of the green beret