Dirichlet and Neumann eigenvalues for half-plane magnetic Hamiltonians