Ex-Japan emperor diagnosed with heart failure