Local Density Approximation Total Energy Calculations for Silica and Titania Structure and Defects