Significance tests for canonical correlation analysis, including asymptotic tests and a Monte Carlo method