General and selective upgrading of mechanical pulps