DUST CONTINUUM AND POLARIZATION FROM ENVELOPE TO CORES IN STAR FORMATION: A CASE STUDY IN THE W51 NORTH REGION