Ronaldo hat-trick puts Portugal in UEFA Nations League final