Galois representations and pencils of Calabi-Yau motives