Zlatan Ibrahimovic has branded Pep Guardiola as "immature" for his management of the Swede at Barcelona.