Probing the high-redshift universe with SPICA: Toward the epoch of reionisation and beyond