The best ways to earn your boss’s respect and gratitude.