Small magnetic polaron effect in lithium iron phosphates