Inflation rises as energy price cap increases