Piezomodulation spectroscopy of molecular crystals. I. Methods and principles