Transfer of Value Functions via Variational Methods