Atomistic computation of molecular species in alkaline-earth fluorohalide crystals