Why Rent When You Can Buy? A Theory of Repurchase Agreements