Qsymm: algorithmic symmetry finding and symmetric Hamiltonian generation