Statistics for Improved cosmological constraints from a joint analysis of the SDSS-II and SNLS supernova samples