Dimensional hierarchy of fermionic topological phases