Food inflation increased in March, driven by price rises in chocolate and confectionery, supermarket shoppers have been warned.