A test of how well the repeatability of courtship predicts its heritability