Prince Harry has apologised to Canada for wearing a Los Angeles Dodgers cap as he attended the teams World Series game against the Toronto Blue Jays.