Integral solutions to boundary quantum Knizhnik–Zamolodchikov equations