How to apply for a job after a rejection, including when —and when not—to reapply and what to write in your resume and cover letter.