Direct and indirect excitons in boron nitride polymorphs: A story of atomic configuration and electronic correlation