Parts of Australia have sweltered in record temperatures close to 50 degrees Celsius or 122 Fahrenheit during a prolonged heat wave