Test can predict heart disease by assessing just one night of sleep