The right reference can help you land the job, but only if you ask the right person in the right way. Here’s how.