Three-dimensional topological lattice models with surface anyons