After Afghanistan withdrawal, pope denounces attempts to impose democracy