Author: 'Mean' friends are the best kind of friends, science confirms