Electronic structure of the band-filling-controlled CaVO3 and LaVO3 compounds