Semi-classical calculation of pressure-broadened line widths and pressure-induced line shifts