Black hole entropy from soft hair