Matrix product state representation for Slater determinants and configuration interaction States