NMR pulse studies of molecular solids: 15N2 and H2. I. Solid echoes and orientational ordering