Linearized augmented plane wave electronic structure calculations for MgO and CaO