King Charles diagnosed with cancer, Buckingham Palace says