Laboratory Measurements of the Fe XVII 2p-3s and 2p-3d Transitions and Comparison with Solar and Astrophysical Observations