Double beta decays into excited states in 110Pd and 102Pd