Here's how to use music to boost your workout performance, according to science