Imaging performance of silicon photomultipliers coupled to BGO and CsI:Na arrays