Two-level stochastic search of low-energy conformers for molecular spectroscopy: Implementation and validation of MM and QM models