Sum Rate Maximization in Underlay SCMA Device-to-Device Networks