Monolithic integration of active and second-order nonlinear functionality in Bragg reflection waveguides