The attorney-client privilege and the work-product doctrine