On the Optimality of TIN: New Link Scheduling and Power Control for D2D Communications