BRST quantization of Yang-Mills theory: A purely Hamiltonian approach on Fock space