Theoretical studies of unconventional superconductivity in Sr2RuO4 and related systems