Screening effects and Friedel oscillations in quantum-well nanostructures