Effect of demixing and coarsening on the energetics of poly(boro)silazane-derived amorphous Si–(B–)C–N ceramics