Spectroscopic line parameters of NH3 and PH3 in the far infrared