One-dimensional stability of viscous shock and relaxation profiles