Integrated head arrangements, e.g. with source and detectors mounted on the same substrate the integrated head arrangements including waveguides