Modifications to an optocardiographic method for measurement of heart rate in a range of invertebrate species