Predictability as a quantum resource