Agency Conflicts, Bank Capital Regulation, and Marking-to-Market