Matrix Product State representation for Slater Determinants and Configuration Interaction States