On Hopf's lemma and the strong maximum principle