Calculation of ground-state and optical properties of boron nitrides in the hexagonal, cubic, and wurtzite structures | Synapse