Door closers and hinges for door closers