The questionable state of HR — and how to fix it