Study of conformational analysis, internal dynamics and non-covalent interactions of chalcogen-bridged compounds (oxygen vs sulfur) by rotational spectroscopy and computational chemistry