First-principle electronic, elastic, and optical study of cubic gallium nitride.