Electronic structure and O vacancy formation/migration in La0.825(Mg/Ca/Ba)0.125CoO3