To bake cookies with the texture you prefer, you'll need to make sure you use the right kind of sugar. Here's how to choose which one you need.