Symmetry Protected Topological States of Interacting Fermions and Bosons