Nonparametric estimation of market risk: an application to agricultural commodity futures