The cycle-dependence of Far-UV and Middle-UV solar emission: EMD analysis of SOLSTICE and Mg II signals