Influence of thickness on the epitaxial stabilisation of SmNiO3 thin films