Inflection points and concavity