Electronic Structures of Sr2RuO4 and Sr2RhO4