Note: Supplementary information is available on the Nature Methods website.