The way you dress at work could affect your attention to detail. But a formal dress code doesn't guarantee a more productive workplace.