Inequality of opportunity and inequality of effort: a canonical growth model