A wireless system for combined heart optogenetics and electrocardiography recording