Thermodynamic guiding principles in selective synthesis of strontium iridate Ruddlesden-Popper epitaxial films