Mean-field modelling of magnetic nanoparticles: The effect of particle size and shape on the Curie temperature