Quasisteady space-charge fields in photorefractive multiple quantum wells: Edge effects