Letting employees manage their own time can be good for a company's bottom line. Here's how one firm did it.