El Nino events can have a significant impact on the yields of certain major food crops, a study has shown.