How Katy Perry became the Hot and Cold popstar