Swiss chocolate maker Barry Callebaut has reported a better-than-expected rise in first-quarter net profit and gave an optimistic outlook for the full year.