This is a pre-copyedited, author-produced version of an article accepted for publication in Journal of the Royal Society Interface following peer review. The version of record is available https://royalsocietypublishing.org/doi/10.1098/rsif.2019.0388