Brazil's president diagnosed with pneumonia, postpones China trip