Sleep quality matters more to teenagers' grades and social lives than diet or exercise, new research shows.