Magnetocrystalline anisotropy energy and spin polarization of Fe3Si in bulk and on Si(001) and Si(111) substrates