An Integrated Model of Optofluidic Biosensor Function and Performance