Smartwatch app launched to monitor heart rhythms while sleeping