Foreign tourists visiting Italy's capital during an unexpected heatwave have been caught off guard by the extreme temperatures.