Baby formula is one of the areas in which prices have risen by more than costs, a watchdog says.