On the estimation of galaxy structural parameters: the Sérsic model