Correlation and surface effects in vanadium oxides