Matrix Product State Representation For Slater Determinants and Configuration Interaction States