Inner Alignment through Values-Based Pretraining