Man in Karnataka beheads friend, carries head to cops