Stability, elastic and electronic properties of palladium nitride