who wrote the score for pirates of the caribbean