Domain integral equation analysis of integrated optical channel and ridge waveguides in stratified media