Mechanical regulation of chromatin and transcription