Cristiano Ronaldo's Portugal battle their way to a place in the European Championship last four on winning a penalty shootout 5-3 against Poland in a tense quarter-final.