Higher central extensions via commutators