Model for nonuniform magnetization processes in particles with enhanced surface anisotropy