Relatively and inner uniform domains