Taylor Swift has admitted that until The Life of a Showgirl, she thought she could only write songs about her "torment and pain".