Scientists develop ‘beneficial’ heart attack sensor