Office perks are great for a month or two, but if you want to attract and retain top talent, you need to focus on the long-term.