Gravar-mail: Detecting rare variants for complex traits using family and unrelated data